

<template>
<div class="model_menu_group-wrapper">
  <modal_com :modalShow="modalShow" :actions="actions" type="menu_group" @toHidden='toHidden' @yes_event='yes_event'>
    <div slot='header'>
      菜单分组
    </div>
    <div slot='content'>
      <menu_group></menu_group>
    </div>
  </modal_com>
</div>
</template>

<script type="text/ecmascript-6">
import modal_com from 'components/modal/modal_com'
import menu_group from 'components/edit/menu_group'
import tool from 'src/util/tool';
import util from '_util/index';

export default {
  data() {
    return {
      searchField: [],
      fields: [],
      actions: {
        positive: '提交',
        negative: '取消'
      },
      vo: {}
    }
  },
  components: {
    modal_com,
    menu_group
  },
  methods: {
    toHidden() {
      this.$emit('modalComHidden')
    },
    yes_event() {
      this.$emit('doSearch', this.vo)
    }
  },
  watch: {},
  props: {
    modalShow: {},
  },
  created() {

//    let eventVue = util.store.get(this,'eventVue');
//    eventVue.$on('changeSearch', this.getSearchFields)
  },
  mounted() {

  }
}
</script>
